package hw20170814.q1;

import java.util.Scanner;

public class Test {
	private Scanner sc = new Scanner(System.in);
	private Login login = new Login();
	
	@org.junit.Test
	public void testLogin(){
		System.out.println("账号：");
		String username=sc.next();
		System.out.println("密码：");
		String userpwd =sc.next();
		System.out.println(login.login(username, userpwd));
	}
	
	@org.junit.Test
	public void testLogin1(){
		System.out.println("账号：");
		String username=sc.next();
		System.out.println("密码：");
		String userpwd =sc.next();
		System.out.println(login.login1(username, userpwd));
	}
}
